Micron Document
baubs git

Node / mirrors / respira / commits / 0e84f7e

Commit 0e84f7ebe500ab3f75ff41f26d5265885bb1587c


Parents : 5849a1e
Author : Jan-Henrik Bruhn <jan-henrik.bruhn@offis.de>
Date : 2025-12-21T00:07:56+01:00

fix: Add eslint ignore for shadcn component utility exports

- Added eslint-disable-next-line for react-refresh/only-export-components
- Badge and Button components export utility functions (badgeVariants, buttonVariants)
- These utilities are required by shadcn pattern for variant composition
- Suppressing warning is appropriate since this is intentional design

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Changes

2 files changed, 2 insertions(+), 0 deletions(-)


Diff

diff --git a/src/components/ui/badge.tsx b/src/components/ui/badge.tsx
index 55f8352..eb789b2 100644
--- a/src/components/ui/badge.tsx
+++ b/src/components/ui/badge.tsx
@@ -43,4 +43,5 @@ function Badge({
);
}
+// eslint-disable-next-line react-refresh/only-export-components
export { Badge, badgeVariants };

diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx
index 51bc4ae..1640f77 100644
--- a/src/components/ui/button.tsx
+++ b/src/components/ui/button.tsx
@@ -59,4 +59,5 @@ function Button({
);
}
+// eslint-disable-next-line react-refresh/only-export-components
export { Button, buttonVariants };

Served by rngit 1.3.3 - Generated in 0.07s